Two-Levels-Greedy: a generalization of Dijkstra's shortest path algorithm

نویسندگان

  • Domenico Cantone
  • Simone Faro
چکیده

The shortest path problem on weighted directed graphs is one of the basic network optimization problems. Its importance is mainly due to its applications in various areas, such as communication and transportation. Here we are interested in the single-source case. When the graph is not required to satisfy any particular restriction and negative weight edges can occur, the problem is solved by the Bellman-Ford-Moore algorithm [Bel58,For56,Moo59], whose complexity is O(|V ||E|), with V and E denoting the sets of nodes and of edges, respectively. A more efficient solution due to Dijkstra [Dij59] is available when weights are restricted to non-negative values. Depending on the implementation used for maintaining a service priority queue, Dijkstra’s algorithm has complexity O(|V |2) (simple list), or O(|E| log |V |) (standard binary heap), or O(|V | log |V | + |E|) (Fibonacci heap [FT87]). Another case which can be solved very efficiently occurs when the underlying graph is acyclic. In such a case, by scanning the nodes in topological ordering, one can achieve a O(|V |+ |E|) complexity. In this note we present a natural generalization of Dijkstra’s algorithm to the case in which negative weight edges are allowed, but only outside of any cycle. The resulting algorithm turns out to have the same asymptotic complexity of Dijkstra’s algorithm and shows a linear behavior in the case of acyclic graphs. In fact, we will also see that our proposed algorithm compares

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Landmark Algorithm for the Time-Dependent Shortest Path Problem

The shortest path problem is one of the most classical problem in combinatorial optimization problem which, given an edge-weighted graph and two vertices, asks to find a path between the two vertices of the minimum length. In this thesis, we consider a generalization of the shortest path problem in which the edge length is time-variable, which we call the time-dependent shortest path problem. T...

متن کامل

A Greedy Algorithm for Fuzzy Shortest Path Problem using Quasi-Gaussian Fuzzy Weights

Several algorithms exist to determine the shortest path in a network for the crisp case where the weights are real numbers. In the real world, these weights represent parameters like cost, packet arrival time, link capacity etc which are not naturally precise. To model the uncertainty involved, for the first time we use the Gaussian fuzzy numbers as weights and a method has been presented in th...

متن کامل

Bionomic Algorithm for Shortest Path First

In this paper we propose the idea of using Bionomic Algorithm (BA) for the shortest path finding problem. SPF is a very important issue associated with many other tasks like network routing and graph/map analysis etc. Different techniques have been used for solving the SPF problem, some of them being Dijkstra Algorithm, Floyd Algorithm, Genetic Algorithm, Tabu Search etc. The choice of algorith...

متن کامل

Implementations of routing algorithms for transportation networks

We discuss the generalization of the point-to-point (and single-source) shortest path problem to instances where the shortest path must satisfy a formal language constraint. We describe theoretical and experimental results on a generalization of Dijkstra’s algorithm to finding regular-language-constrained shortest paths. This algorithm forms a model for single-source shortest paths and point-to...

متن کامل

Algorithm for shortest path search in Geographic Information Systems by using reduced graphs

The use of Geographic Information Systems has increased considerably since the eighties and nineties. As one of their most demanding applications we can mention shortest paths search. Several studies about shortest path search show the feasibility of using graphs for this purpose. Dijkstra's algorithm is one of the classic shortest path search algorithms. This algorithm is not well suited for s...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electronic Notes in Discrete Mathematics

دوره 17  شماره 

صفحات  -

تاریخ انتشار 2004